package com.ymatou.iapi.trading.operate.parameter.po;

import java.math.BigDecimal;

public class OrderIdCardCostInfoPo {
	/**
	* Id INTEGER(10) 必填<br>
	* 
	*/
	private Integer id;

	/**
	 * IdCardNo VARCHAR(36) 必填<br>
	 * 
	 */
	private String idCardNo;

	/**
	 * Year INTEGER(10) 必填<br>
	 * 
	 */
	private Integer year;

	/**
	 * Name VARCHAR(100)<br>
	 * 
	 */
	private String name;

	/**
	 * Amount NUMERIC(18,2)<br>
	 * 
	 */
	private BigDecimal amount;

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 * 
	 */
	private String addTime;

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 * 
	 */
	private String updateTime;

	/**
	 * Id INTEGER(10) 必填<br>
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Id INTEGER(10) 必填<br>
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * IdCardNo VARCHAR(36) 必填<br>
	 */
	public String getIdCardNo() {
		return idCardNo;
	}

	/**
	 * IdCardNo VARCHAR(36) 必填<br>
	 */
	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo == null ? null : idCardNo.trim();
	}

	/**
	 * Year INTEGER(10) 必填<br>
	 */
	public Integer getYear() {
		return year;
	}

	/**
	 * Year INTEGER(10) 必填<br>
	 */
	public void setYear(Integer year) {
		this.year = year;
	}

	/**
	 * Name VARCHAR(100)<br>
	 */
	public String getName() {
		return name;
	}

	/**
	 * Name VARCHAR(100)<br>
	 */
	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	/**
	 * Amount NUMERIC(18,2)<br>
	 */
	public BigDecimal getAmount() {
		return amount;
	}

	/**
	 * Amount NUMERIC(18,2)<br>
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public String getAddTime() {
		return addTime;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 */
	public String getUpdateTime() {
		return updateTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 */
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", idCardNo=").append(idCardNo);
		sb.append(", year=").append(year);
		sb.append(", name=").append(name);
		sb.append(", amount=").append(amount);
		sb.append(", addTime=").append(addTime);
		sb.append(", updateTime=").append(updateTime);
		sb.append("]");
		return sb.toString();
	}
}
